package com.human.server.service.impl;

import com.human.server.mapper.AssessmentsMapper;
import com.human.server.model.request.KpiReportRequest;
import com.human.server.model.response.KpiReportResponse;
import com.human.server.model.response.StatusReportResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportServiceImpl {

    @Autowired
    private AssessmentsMapper assessmentsMapper;

    public List<StatusReportResponse> statusReport() {
        return assessmentsMapper.statusReport();
    }

    public List<KpiReportResponse> kpiReport(KpiReportRequest kpiReportRequest) {
        return assessmentsMapper.kpiReport(kpiReportRequest);
    }

}
